<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>测试</title>
	<!--jquery-->
	<script type="text/javascript" src="jquery/jquery-1.8.3.min.js"/></script>
	<!--bsgrid-->
	<link rel="stylesheet" href="jquery-bsgrid/css/bsgrid.all.min.css"/>
	<script type="text/javascript" src="jquery-bsgrid/js/lang/grid.zh-CN.js"></script>
	<script type="text/javascript" src="jquery-bsgrid/js/bsgrid.all.js"></script>
</head>

<script>
var userGridObj = null;
var contextPath ="<%=request.getContextPath() %>";
jQuery(document).ready(function(){
	userGridObj = jQuery.fn.bsgrid.init('userTable', {
        url:contextPath+"/test/bsgird/list.do",
        pageSizeSelect: true,
        stripeRows: true,
        rowSelectedColor:false,
        pageSize: 10
		
    });
});
</script>

<table id="userTable" style="width:100%;">
        <tr>
			<th w_num="line" width="3%;"></th>
            <th w_index="name" width="11%;" w_sort="name">姓名</th>
            <th w_index="address"  width="5%;" w_sort="address">地址</th>
        </tr>
</table>